Repository navigation
docs: document the topology-mode annotation for topology aware routing - #2165
Open
NopeCharon wants to merge 1 commit into
Open
NopeCharon wants to merge 1 commit into
NopeCharon wants to merge 1 commit into
Conversation
Problem The "Enabling Topology Aware Routing" task tells users to annotate services with `service.kubernetes.io/topology-aware-hints=auto`. Since Kubernetes 1.27 this behavior is controlled with the `service.kubernetes.io/topology-mode=Auto` annotation, and the older annotation is deprecated. The safeguards and constraints links also point at the old Kubernetes "topology-aware-hints" page, which now redirects to "topology-aware-routing". Solution Recommend `service.kubernetes.io/topology-mode=Auto`, and note that `service.kubernetes.io/topology-aware-hints=auto` was used before Kubernetes 1.27. Point the safeguards and constraints links at the current Kubernetes Topology Aware Routing page. This is applied to the 2.13 through 2.19, edge and docs versions of the task. 2.12 is left unchanged because it only supports Kubernetes up to 1.24. Fixes linkerd#1976 Signed-off-by: NopeCharon <115794254+NopeCharon@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Enabling Topology Aware Routing" task tells users to annotate services with
service.kubernetes.io/topology-aware-hints=auto. Since Kubernetes 1.27, this behavior is controlled withservice.kubernetes.io/topology-mode=Auto, and the older annotation is deprecated (Kubernetes docs).This PR:
service.kubernetes.io/topology-mode=Auto, and notes thatservice.kubernetes.io/topology-aware-hints=autowas used before Kubernetes 1.27topology-aware-hintsURL, which only redirects. The#safeguardsand#constraintsanchors exist on the new page.I applied the change to the 2.13 through 2.19, edge and docs versions of the task. I left 2.12 unchanged because it only supports Kubernetes up to 1.24.
Testing:
make lintpasses, and a localhugobuild renders the updated pages.Fixes #1976